<?php

namespace WebModule;

use ApplicationsModule\PeopleModule\PeopleManagement;
use Celebrio\AccessControl\UserManagement;
use \Albireo\OAuth\OAuthClient;
use Albireo\Forms\AlbireoForm;
use \Facebook;
use ApplicationsModule\TalkerModule\OpenTokModel;

/**
 * Sign In Page presenter.
 *
 * @author     Albireo Solutions
 * @package    Kernel
 */
class VideoPresenter extends BasePresenter {

    public function actionDefault($sessionId) {
        $om = new OpenTokModel();
        $this->getTemplate()->sessionId = $sessionId;
        $this->getTemplate()->token = $om->generateToken($sessionId);
    }
}